/*
Copyright 2010 SGSL

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package com.dataiti.sgsl.layer;

import java.util.Map;


/**
 * This class defines table of Degree and Globe radius.setWidthandHeight API use this class
 * to get radius of the globe for the given degree.
 */
public class InitRadiusLookup {
	
	
	/**
	 * This method returns the radius of the globe for the given degree.
	 *  This will be used in setwidthandheight
	 * @param objMap
	 */
	public void getRadius(Map objMap)
	{   
		objMap.put("180.0","0");
		objMap.put("179.0","1");
		objMap.put("178.0","2");
		objMap.put("177.0","3");
		objMap.put("176.0","5");
		objMap.put("175.0","7");
		objMap.put("174.0","8");
		objMap.put("173.0","9");
		objMap.put("172.0","11");
		objMap.put("171.0","12");
		objMap.put("170.0","14");
		objMap.put("169.0","16");
		objMap.put("168.0","17");
		objMap.put("167.0","18");
		objMap.put("166.0","19");
		objMap.put("165.0","22");
		objMap.put("164.0","23");
		objMap.put("163.0","24");
		objMap.put("162.0","25");
		objMap.put("161.0","26");
		objMap.put("160.0","27");
		objMap.put("159.0","28");
		objMap.put("158.0","29");
		objMap.put("157.0","30");
		objMap.put("156.0","31");
		objMap.put("155.0","33");
		objMap.put("154.0","34");
		objMap.put("153.0","35");
		objMap.put("152.0","37");
		objMap.put("151.0","40");
		objMap.put("150.0","43");
		objMap.put("149.0","44");
		objMap.put("148.0","45");
		objMap.put("147.0","47");
		objMap.put("146.0","49");
		objMap.put("145.0","50");
		objMap.put("144.0","52");
		objMap.put("143.0","53");
		objMap.put("142.0","55");
		objMap.put("141.0","57");
		objMap.put("140.0","59");
		objMap.put("139.0","60");
		objMap.put("138.0","62");
		objMap.put("137.0","63");
		objMap.put("136.0","65");
		objMap.put("135.0","66");
		objMap.put("134.0","68");
		objMap.put("133.0","70");
		objMap.put("132.0","72");
		objMap.put("131.0","71");
		objMap.put("130.0","75.2");
		objMap.put("129.0","73");
		objMap.put("128.0","79");
		objMap.put("127.0","79");
		objMap.put("126.0","80");		
		objMap.put("125.0","81");
		objMap.put("124.0","82.06");
		objMap.put("123.0","85");
		objMap.put("122.0","87");
		objMap.put("121.0","89");
		objMap.put("120.0","93");
		objMap.put("119.0","94");
		objMap.put("118.0","96");
		objMap.put("117.0","99");
		objMap.put("116.0","101");
		objMap.put("115.0","102");
		objMap.put("114.0","105");
		objMap.put("113.0","106");
		objMap.put("112.0","109");
		objMap.put("111.0","110");
		objMap.put("110.0","112.06");
		objMap.put("109.0","115");
		objMap.put("108.0","119");
		objMap.put("107.0","120");
		objMap.put("106.0","122");		
		objMap.put("105.0","124");
		objMap.put("104.0","126");
		objMap.put("103.0","128.4");
		objMap.put("102.0","130");
		objMap.put("101.0","132");
		objMap.put("100.0","134");
		objMap.put("99.0","136");
		objMap.put("98.0","141");
		objMap.put("97.0","141");
		objMap.put("96.0","144");
		objMap.put("95.0","148");
		objMap.put("94.0","150");
		objMap.put("93.0","153");
		objMap.put("92.0","155");
		objMap.put("91.0","158");
		objMap.put("90.0","160");
		objMap.put("89.0","164");
		objMap.put("88.0","166");
		objMap.put("87.0","169.2");
		objMap.put("86.0","172");
		objMap.put("85.0","176");
		objMap.put("84.0","179");
		objMap.put("83.0","181");
		objMap.put("82.0","184");
		objMap.put("81.0","189.9");
		objMap.put("80.0","194");
		objMap.put("79.0","195");
		objMap.put("78.0","200");
		objMap.put("77.0","202");
		objMap.put("76.0","208");
		objMap.put("75.0","210");
		objMap.put("74.0","218.4");
		objMap.put("73.0","221.7");
		objMap.put("72.0","216");
		objMap.put("71.0","222");
		objMap.put("70.0","229");
		objMap.put("69.0","230");
		objMap.put("68.0","239");
		objMap.put("67.0","240");
		objMap.put("66.0","248.8");
		objMap.put("65.0","250");
		objMap.put("64.0","259");
		objMap.put("63.0","260");
		objMap.put("62.0","269");
		objMap.put("61.0","270");
		objMap.put("60.0","280");
		objMap.put("59.0","285");
		objMap.put("58.0","290.2");
		objMap.put("57.0","295");
		objMap.put("56.0","447");
		objMap.put("55.0","454");
		objMap.put("54.0","462");
		objMap.put("53.0","475");
		objMap.put("52.0","487");
		objMap.put("51.0","498");
		objMap.put("50.0","510");
		objMap.put("49.0","522");
		objMap.put("48.0","537");
		objMap.put("47.0","548");
		objMap.put("46.0","562");
		objMap.put("45.0","574");
		objMap.put("44.0","590");
		objMap.put("43.0","604");
		objMap.put("42.0","620");
		objMap.put("41.0","637");
		objMap.put("40.0","653");
		objMap.put("39.0","670");
		objMap.put("38.0","690");
		objMap.put("37.0","710");
		objMap.put("36.0","730");
		objMap.put("35.0","750");
		objMap.put("34.0","780");
		objMap.put("33.0","305");
		objMap.put("32.0","830");
		objMap.put("31.0","859");
		objMap.put("30.0","886");
		objMap.put("29.0","923");
		objMap.put("28.0","953");
		objMap.put("27.0","993");
		objMap.put("26.0","1034");
		objMap.put("25.0","1973");
		objMap.put("24.0","1116");
		objMap.put("23.0","1167");
		objMap.put("22.0","1222");
		objMap.put("21.0","1281");
		objMap.put("20.0","1349");
		objMap.put("19.0","1421");
		objMap.put("18.0","1499");
		objMap.put("17.0","1586");
		objMap.put("16.0","1684");
		objMap.put("15.0","1804");
		objMap.put("14.0","1940");
		objMap.put("13.0","2081");
		objMap.put("12.0","2253");
		objMap.put("11.0","2459");
		objMap.put("10.0","2716");
		objMap.put("9.0","3018");
		objMap.put("8.0","3356");
		objMap.put("7.0","3879");
		objMap.put("6.0","4540");
		objMap.put("5.0","5546");
		objMap.put("4.0","6772");
		objMap.put("3.0","6810.5");
		objMap.put("2.0","6910.5");
		objMap.put("1.0","7000");
	}
	

}
